package org.jeecg.modules.demo.zc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.zc.entity.Sale;
import org.jeecg.modules.demo.zc.service.SaleService;
import org.jeecg.modules.demo.zc.mapper.SaleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 16286
* @description 针对表【sale】的数据库操作Service实现
* @createDate 2022-03-26 16:14:03
*/
@Service
public class SaleServiceImpl extends ServiceImpl<SaleMapper, Sale>
    implements SaleService{

    @Autowired
    SaleMapper saleMapper;

    @Override
    public List<Sale> selectAll() {

        return saleMapper.selectAll();
    }
}




